package com.retallife.business.service.Impl;

import com.retallife.business.dao.Goods.GoodsMapper;
import com.retallife.business.pojo.Goods.GoodsVo;
import com.retallife.business.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsServiceImpl implements GoodsService {

    @Autowired
    GoodsMapper goodsMapper;

    /**
     * 查询厂商的商品
     * @return 是否查询成功
     */
    public List<GoodsVo> BusinessFindGoods(String goodsShopName) {
        return goodsMapper.BusinessFindGoods(goodsShopName);
    }
}
